package com.xinsilu.hospital.service.impl;

import com.xinsilu.hospital.entity.DepartmentTable;
import com.xinsilu.hospital.mapper.DepartmentTableMapper;
import com.xinsilu.hospital.service.IDepartmentTableService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ym
 * @since 2021-09-22
 */
@Service
public class DepartmentTableServiceImpl extends ServiceImpl<DepartmentTableMapper, DepartmentTable> implements IDepartmentTableService {
    @Autowired
    private DepartmentTableMapper departmentTableMapper;

    @Override
    public List<DepartmentTable> getList() {
       List<DepartmentTable> list =  departmentTableMapper.getList();
        return list;
    }
}
